home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / pdselect / awnp / awnp-docs / data_paths.doc < prev    next >
Text File  |  2000-02-16  |  2KB  |  93 lines

  1. Controlling data paths.
  2. -----------------------
  3.  
  4. T option
  5. ========
  6.  
  7. TEE's or data taps. Data can be read by more than one file handle
  8.  
  9. copy AWNPipe:test/t ram:test3
  10. copy ram:test AWNPipe:test/h
  11. copy AWNPipe:test ram:test2
  12.  
  13. A tap is a extra read handle on a pipe connection. If the pipe is not yet created the tap will wait for it to exist. If a tap is not opened BEFORE any data is written into the pipe, it will miss data. Taps are useful to listen in on interactive (2way) pipes as they read the data written to both ends of the pipe.
  14.  
  15. R option
  16. ========
  17.  
  18. Read a file. The second end of a pipe can be connected to file automatically. The file name is given after the 'R'.
  19.  
  20. copy AWNPipe:test/h/rram:test ram:test2
  21.  
  22. copy ram:test AWNPipe:test/h
  23. copy AWNPipe:test ram:test2
  24.  
  25. Both of these copy a file from ram:test through a modifying pipe into a file ram:test2 .
  26.  
  27. W option
  28. ========
  29.  
  30. Write a file. The second end of a pipe can be connected to file automatically. The file name is given after the 'W'.
  31.  
  32.  
  33. copy ram:test AWNPipe:test/h/wram:test2
  34.  
  35. copy ram:test AWNPipe:test/h
  36. copy AWNPipe:test ram:test2
  37.  
  38. Both of these copy a file from ram:test through a modifying pipe into a file ram:test2 .
  39.  
  40. L option
  41. ========
  42.  
  43. Read AND write to an interactive file such as con: . The interactive file name is given after the 'L'.
  44.  
  45. This is useful to be able to 'tap' into a two way conversation at a con: or other interactive file handle.
  46.  
  47. AWNPipe:test/Lcon:////mycon/
  48.  
  49. V option
  50. ========
  51.  
  52. This option opens a pipe directly to the clipboard.
  53.  
  54. type AWNPipe:test/c
  55.  
  56. You may also specify a clipboard unit, defaults to 0 (the primary clip).
  57.  
  58. To access clipboard unit 5
  59.  
  60. type AWNPipe:test/c5
  61.  
  62.  
  63. C option
  64.  ========
  65.  
  66. This option allows you to set the clipboard
  67.  
  68. echo "set this as the clip" >AWNPipe:test/v
  69.  
  70. You may also specify a clipboard unit, defaults to 0 (the primary clip)
  71.  
  72. To set clipboard unit 5
  73.  
  74. echo "set this as the clip" >AWNPipe:test/v5
  75.  
  76. E option
  77. ========
  78.  
  79. execute a command . The file name is given after the 'E'. A command is executed  with the pipe name as an argument. The pipe name replaces a '%' or is placed at the end. You CAN NOT use a '/' instead of a '%' !.
  80.  
  81. copy ram:test.doc AWNPipe:test/h/eaweb3:aweb-II
  82.  
  83. copy ram:test.doc "AWNPipe:test/h/eaweb3:aweb-II % config
  84. local"
  85.  
  86. Both of these load a file ram:test into AWeb through a modifying pipe and call AWeb to view it .
  87.  
  88. Into a file requester such as AWebs save requester...
  89. 'awnpipe:jpeg/eUtil:fjpeg_ecs'
  90. will send the data directly to the viewer.
  91.  
  92.  
  93.